<template>
  <div>
     <el-upload
            class="avatar-uploader"
            :show-file-list="false"
            :limit="1"
            :action="actionUrl"
            accept=".png,.jpe,.jpeg"
            :data="additionalData"
            :before-upload="handleBeforeUpload"
          >
            <img
              v-if="imageUrl"
              :src="imageUrl"
              class="avatar"
              prop="imageUrl"
            />
          </el-upload>
  </div>
</template>

<script lang="ts">
import { ref } from 'vue';

export default {
  setup() {
    return {
// comst uploadImgData=ref('')
const submitUpload = () => {

}

    };
  }
};
</script>

<style scoped></style>
